DEFINITION MODULE DCDPalette;

(*---------------------------------------------------------------------*)
(*   Dialogue management for DegasConvert.                             *)
(*                                                                     *)
(*   Functions:                                                        *)
(*       Display and validate input from 'palette' dialogue.           *)
(*                                                                     *)
(*   Version 1.10     August 1987                    L.G.Miller        *)
(*---------------------------------------------------------------------*)

FROM DCGlobal           IMPORT PrintPalette,
                               DegasPicture;


PROCEDURE DoPaletteDialog ( VAR PPalette     : PrintPalette;
                                PictureRes   : CARDINAL ) : BOOLEAN;


(*----------------------------------------------------------------------*)
(* This routine seems to require a lot of information. It returns       *)
(* the updated print palette for the current picture.                   *)
(*----------------------------------------------------------------------*)
PROCEDURE DoPixelDialog   ( VAR Picture      : DegasPicture;
                                MouseX, MouseY,
                                ScreenRes    : CARDINAL;
                                VAR PPalette : PrintPalette );

END DCDPalette.

